layui.define(['BaseApi'], function (exports) {
	var module = 'common',
		pathPrefix = '/common/',
		BaseApi = layui.BaseApi;

	function CommonApi(module, pathPrefix) {
		BaseApi.apply(this, arguments);
		Object.assign(this.api, {
			getMainMenu: this.prefix + 'getMainMenu',
			getSideMenu: this.prefix + 'getSideMenu',
			getUnreadMsgCount: this.prefix + 'getUnreadMsgCount',
		})
	}

	exports('apiCommon', new CommonApi(module, pathPrefix));
})
